﻿/*
=======================================================
    UsingWireropeAttr【在用绳附件】
=======================================================
*/

namespace Services
{
    public interface IUsingWireropeAttrLogic : ILogic<UsingWireropeAttrModel, UsingWireropeAttrFilterModel>
    {
    }


    public class UsingWireropeAttrLogic : BaseLogic<UsingWireropeAttrModel, UsingWireropeAttrFilterModel, UsingWireropeAttr, IUsingWireropeAttrRepository, IUsingWireropeAttrMapping, IUsingWireropeAttrService>, IUsingWireropeAttrLogic
    {
        public UsingWireropeAttrLogic(ICurrentUser currentUser, IUsingWireropeAttrRepository repository, IUsingWireropeAttrMapping mapping, IUsingWireropeAttrService service)
            : base(currentUser, repository, mapping, service)
        {
        }

        #region Insert
        public override UsingWireropeAttrModel Insert(UsingWireropeAttrModel model)
        {
            model.Code = Gx.GetCode("FJ");
            return base.Insert(model);
        }
        #endregion
    }
}
